package my.test.tactics.extend;

/**
 * @Author 许玉康
 * @Date 2019/8/29 8:45
 */
public class Context {

    private Calculator calculator = null;

    public Context(Calculator calculator) {
        this.calculator = calculator;
    }

    public int exec(int a,int b, String symbol) {
        return this.calculator.exec(a, b);
    }
}
